package com.pxxy.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;
import com.pxxy.entity.MemberCard;

@Mapper
public interface MemberCardMapper {
    int insert(@Param("memberCard") MemberCard memberCard);

    int insertSelective(@Param("memberCard") MemberCard memberCard);

    int insertList(@Param("memberCards") List<MemberCard> memberCards);

    int updateByPrimaryKeySelective(@Param("memberCard") MemberCard memberCard);

    List<MemberCard> findAll();

    MemberCard findById(Serializable id);
}
